package cn.tedu.carehome.foundation.mapper;

import cn.tedu.carehome.foundation.pojo.vo.CaseFileListItemVO;
import cn.tedu.carehome.foundation.pojo.vo.CaseFileStandardVO;
import cn.tedu.carehome.foundation.pojo.entity.CaseFile;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 处理病例数据的Mapper接口
 */
@Repository
public interface CaseFileMapper {
    int insert(CaseFile caseFile);

    int insertBatch(List<CaseFile> caseFileList);

    int deleteById(Long id);

    int deleteBatchByIds(Long[] ids);

    int update(CaseFile caseFile);

    int count();

    CaseFileStandardVO getStandardById(Long id);

    List<CaseFileListItemVO> list();
}
